import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);


const router = new Router({
    
    routes: [
      {
          name: 'home',
          path:'/',
          component: () => import('@/views/home.vue')
      },
      {
        path: '*',
        redirect: {
            name: 'home'
        }
    }
    ]

});

export default router;